<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>Welcome to Correction-Tools</title>

	<style type="text/css">
		@import "<?echo base_url()?>src/css/style.css";
	</style>
</head>
<body>

<div class="headBar">
		<div class="headInside">
			<h1>Correction-Tools</h1>
			<ul class="navBar">
				<li class="<? if($view=='index'){?>navItemActive<? }else{ ?>navItem<? } ?>"><a href="<?echo base_url()?>">Home</a></li>	
				<li class="<? if($view=='news'){?>navItemActive<? }else{ ?>navItem<? } ?>"><a>News</a></li>	
				<li class="<? if($view=='ic'){?>navItemActive<? }else{ ?>navItem<? } ?>"><a href="<?echo base_url()?>index.php/correction/icorrection">iCorrection</a></li>	
			</ul>
			<?if($this->session->userdata('is_login')){?>
				<div id="login_status" class="loginstatus">	
					<a style="color:lightblue" href="<?echo base_url()?>index.php/correction/icorrection">Hi,<?echo $this->session->userdata('username')?></a>	
					<a style="font-size:12px;margin-left:10px;" href="<?echo base_url()?>index.php/user/logout">Log Out</a>
				</div>
			<?}else{?>
				<div id="login_status" class="loginstatus">		
					<a id="loginBtn" href="<?echo base_url()?>index.php/user/register">Log In</a>	
				</div>
			<?}?>
		</div>
</div>

<div id="main">
	<div id="container">